import Vue from 'vue';
import Router from 'vue-router';

import customerRoutes from './customer/index';

Vue.use(Router);

const routes = [
    {
        path: '/index',
        name: 'index',
        component: () => import('@/views/Index.vue')
    },
    ...customerRoutes,
];

export default new Router({
    mode: 'history',
    routes: routes
});

